﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;

namespace Brjostagjof_H4.Models
{
    public class ProfileViewModel
    {
        [DisplayName("Notandanafn")]
        public string userName { get; set; }

        [DisplayName("Fullt nafn")]
        public string fullName { get; set; }

        [Required(ErrorMessage = "{0} verður að vera útfyllt")]
        [DataType(DataType.EmailAddress)]
        [Email(ErrorMessage = "{0} Ekki gilt")]
        [DisplayName("Netfang")]
        public string email { get; set; }

        [DisplayName("Sími")]
        public string phoneNumber { get; set; }

        [DisplayName("Starfsheiti")]
        public string title { get; set; }
    }
}